<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DetailsViewPage.aspx.cs" Inherits="DetailsViewPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="UserID"
            DataSourceID="SqlDataSource1" DefaultMode="Insert" Height="50px" Width="353px">
            <Fields>
                <asp:BoundField DataField="UserID" HeaderText="UserID" InsertVisible="False" ReadOnly="True"
                    SortExpression="UserID" />
                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                <asp:BoundField DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="LastName" SortExpression="LastName" />
                <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
                <asp:BoundField DataField="LastLogin" HeaderText="LastLogin" SortExpression="LastLogin" />
            </Fields>
            <HeaderTemplate>
                <asp:Label ID="Label1" runat="server" Text="Recruiter Account"></asp:Label>
            </HeaderTemplate>
        </asp:DetailsView>
        &nbsp;</div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RecruitVietnamDbConnectionString %>" SelectCommand="SELECT [UserID], [Email], [FirstName], [LastName], [Address], [LastLogin] FROM [tblJSAccounts]"></asp:SqlDataSource>
    </form>
</body>
</html>
